package com.xu.crawler.dao;

import com.xu.crawler.dao.entity.HkStockDO;
import com.xu.crawler.dao.entity.NewsDO;

import java.io.Serializable;
import java.util.List;

/**
 * Created by clear on 2018/7/11.
 */
public interface HkStockDao extends Serializable {

    void batchSaveStocks(List<HkStockDO> stockDOS);

    long count();

    List<HkStockDO> queryAll();

    HkStockDO queryByCode(String code);
}
